package com.apple.action;

import util.AppleHttpClientUtil;

public class AppleDGAction {
	private static String IPHONE7_128_RED = "http://www.apple.com/cn/shop/updateSummary?node=home/shop_iphone/family/special_edition_iphone_7&step=select&product=MPT22CH%2FA&carrierPolicyType=UNLOCKED";
	private static String IPHONE7_PLUS_128_RED = "http://www.apple.com/cn/shop/updateSummary?node=home/shop_iphone/family/special_edition_iphone_7&step=select&product=MPR42CH%2FA&carrierPolicyType=UNLOCKED";
	private static String IPHONE7_PLUS_256_RED = "http://www.apple.com/cn/shop/updateSummary?node=home/shop_iphone/family/special_edition_iphone_7&step=select&product=MPRG2CH%2FA&carrierPolicyType=UNLOCKED";
	
	
	public static void main(String[] args){
		
		AppleHttpClientUtil httpClientUtil = AppleHttpClientUtil.getInstance();
		System.out.println(httpClientUtil.sendHttpGet(IPHONE7_128_RED).contains("\"isBuyable\":false"));
	}

}
